package cn.baage.campus.constant;

/**
 * @Description: redis key常量
 * @Author: 八阿哥
 * @url: baage.cn
 * @Version: 1.0
 **/
public class CacheConstant {

    /** 默认 Key **/
    public static final String DEFAULT_KEY = "BAAGE:CAMPUS:";

    /** 认证信息 **/
    public static final String AUTH_KEY = DEFAULT_KEY + "AUTH:";

    /** 图片验证码 **/
    public static final String CAPTCHA_KEY = DEFAULT_KEY + "CAPTCHA:";

    /** 邮件验证码 **/
    public static final String MAIL_CODE_KEY = DEFAULT_KEY + "MAIL_CODE:";

    /** 阅读数 **/
    public static final String READING_NUM_KEY = DEFAULT_KEY + "READING_NUM:";

    /** 喜欢数 **/
    public static final String LIKE_NUM_KEY = DEFAULT_KEY + "LIKE_NUM:";

    /** 热点帖子 **/
    public static final String HOT_POSTING_KEY = DEFAULT_KEY + "HOT_POSTING";


}
